package com.yu.demo.mytest;

public abstract class TemplateFather {

        public final void play(){
            getUp();
            eatLunch();
            eatDinner();
        }

        public abstract void getUp();

        public void eatLunch(){
            System.out.println("开始吃午饭了哦");
        }

        public abstract void eatDinner();
}
